package com.ldu.exam.dao;

import java.io.Serializable;
import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import com.ldu.exam.model.ClaModel;

public interface ClaRepository extends JpaRepository<ClaModel, Serializable> 
{
	Page<ClaModel> findByClaNameContaining( String claName, Pageable page) ;
	
	List<ClaModel> findByClaName(String claName);
}
